﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GameCore;

public class UIState_SHFightState : EntityState  {

    public static bool doNothing = false;

    public UIState_SHFightState(int iStateId, EntityState eState) : base(iStateId, eState) { }
  
    public bool Scenemanager { get; private set; }

    protected override void OnStateBegin(object[] command)
    {
        if (doNothing)
        {
            return;
        }

        UIManager.ChangeUI(UIManager.PageState.GameRoomPage, (GameObject obj) =>
        {
            obj.GetComponent<GameRoomPage>().InformationSetting();
        });
    }

    //-------------------------------------------------------------------------
    protected override void OnStateEnd()
    {

    }
    //-------------------------------------------------------------------------
    protected override void OnUpdate()
    {

    }
    public override void OnFinishedMsg(string id)
    {

        Debug.Log("UIState_LoginPage.OnFinishedMsg");
    }

}
